import axios from '../axiosRequest/index'

let axiosRequest = function (params) {
    return axios({
        url:"/msbd/list",
        method:'get',
        params:params|| {}
    })
}


let saveData = function (data) {
    return axios({
        url:"/msbd/addList",
        method:'post',
        data
    })
}

let upData =function(data) {
    return axios({
        url:"/msbd/updateList",         
        method:'post',
        data
    })
}

let delData = function (id) {
    return axios({
        url:"/msbd/delList",
        method:'get',
        params:{
            id
        }
    })
}






export  {axiosRequest,saveData,upData,delData}